package demo;

import java.util.*;
public class demo01 {
 public static void main(String[] args) {
  Scanner scan=new Scanner(System.in);

       String  info=scan.next();  
       
       int index=0;

       int count=0;

       while(index <info.length()) {

          if(info.charAt(index)>=32 && info.charAt(index)<=126 || info.charAt(index) == '\n' || info.charAt(index) == '\r' || info.charAt(index) == '\t' || info.charAt(index) == ' ')
          {
        	  count++;
          }
          index++;
       }

       System.out.println("characters:"+count);
 }
}
